package sample.user.dto;

import java.time.LocalDateTime;

public class UserDto {

	private int id;
	private String name;
	private int sex;
	private int age;
	private String describe;
	private String time;

	public UserDto() {
		this.time = LocalDateTime.now().toString();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "UserDto [id=" + id + ", name=" + name + ", sex=" + sex + ", age=" + age + ", describe=" + describe
				+ ", time=" + time + "]";
	}

}
